﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace Infrastructure.ExternalService.Core.FileStorage
{

    /// <summary>
    /// 需要Token访问，返回前端fileurl和token
    /// </summary>
    public class DownloadFileTokenResult
    {
        ////[JsonProperty("filePaths")]
        //public List<string> FilePaths { get; set; }

        //// [JsonProperty("expire")]
        //public long ExpireTime { get; set; }


        /// <summary>
        /// 文件Id
        /// </summary>
        public string FileId { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// OssUrl
        /// </summary>
        public string OssUrl { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string DownloadToken { get; set; }
    }
}
